home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr31
/
zip2zi31.zip
/
ZIP2-ZNP.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-05-31
|
499b
|
13 lines
@Echo off
Rem ZIP2-ZNP.BAT To test a .ZIP File for a .zip file in it's path structure.
Rem %1 is DRV:\Path\, %2 is FileName [.ZIP assumed]
Rem Return of FSIZE=0 is no zip in path. Non 0 = ZIP in .ZIP's Path
PKunZIP -d %1 -@ZIP2-FSZ.
Find "/" ZIP2-FSZ. | Find ".ZIP" >ZIP2-FSZ.
Call ZIP2-FSZ.BAT
IF "%FSIZE%"=="0" Echo Good! %1 Contains NO .ZIP Files Within It's Path.
IF "%FSIZE%"=="0" GoTo End
Echo Hmmm.. %1 Has One Or More .ZIP Files In It's Path.
:End